package com.ztesoft.huangfu.learning.springboot.springbootrestful.service;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/** Copyright (C) 2013 aisainfo
 *
 * Staff
 * Description: 
 *
 * @version : v1.0
 * @author : asiainfo
 * @since : 
 */
public class Staff implements Serializable {
    /**
     * Field serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    /**
    * Field staffId : 员工编码：在任何时间内唯一，离职的员工打上标记，不直接删除。
默认编???规则：部门编码的前四位(或者即是地域编码)＋四位数字或字母代码
    */
    private String staffId;

    /**
    * Field staffFlag : 工号来源----0:能力管理平台  1:BSS  2:OA  3:集客管理系统  4:集客销售系统 5:ESS 
    */
    private String staffFlag;

    /**
    * Field departId : 部门/渠道???识
    */
    private String departId;

    /**
    * Field staffName : 员工姓名
    */
    private String staffName;


    /**
    * Field staffType : 员工类型：必要时可以区分工号类型 0：公众 1：集团 2：公共??默认0
    */
    private String staffType;

    /**
    * Field jobCode : 0：????人员 1：管理员   2：??管??导
    */
    private String jobCode;

    /**
    * Field sex : ??工??别：0－男，1－女
    */
    private String sex;

    /**
    * Field email : E_MAIL地址
    */
    private String email;

    /**
    * Field userPid : 身份证号码：根据身份证号码到客户资料表获取员工的CUSTID，如果未找到，系统自动生成一个潜在的客户信息
    */
    private String userPid;

    /**
    * Field staffPasswd : 
    */
    private String staffPasswd;

    /**
    * Field serialNumber : 手机号码
    */
    private String serialNumber;

    /**
    * Field dimissionTag : 离职标志：0－正常，1－已经离职
    */
    private String dimissionTag;

    /**
    * Field birthday : 出生??期
    */
    //@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
   // @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone="GMT+8") 不需要了。。spring boot 支持配置文件里
    private Date birthday;

    /**
    * Field loginFlag : 员???登???标记??0－正常，1－虚拟（不允许登录，一般是代理商部门抽象出来的员工，便于权限控制）
    */
    private String loginFlag;

    /**
    * Field eparchyCode : 归属业务区
    */
    private String eparchyCode;

    /**
    * Field remark : 备注
    */
    private String remark;

    /**
    * Field rsvalue1 : 冗余字段1
    */
    private String rsvalue1;

    /**
    * Field rsvalue2 : 存放营业员上次打印的发票号
    */
    private String rsvalue2;

    /**
    * Field startDate : 起始有效时间
    */
   // @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date startDate;

    /**
    * Field endDate : 终??有????时间
    */
    //@JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date endDate;

    /**
    * Field updateTime : 更新时间
    */
    @JsonFormat(pattern = "YYYY-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    /**
    * Field updateStaffId : 更新员工
    */
    private String updateStaffId;

    /**
    * Field updateDepartId : 更新部门
    */
    private String updateDepartId;

    /**
    * Field mac : 
    */
    private String mac;

    /**
    * Field loginCheckType : 登陆认证类型:0-不需要任何认证,1-iPASS认证,2-短信校验认证
    */
    private String loginCheckType;

    /**
    * Field status : '0':有效
‘1’:失效
    */
    private String status;
    
    private String provinceCode;
    
    

    public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public Staff(){}

    public void setStaffId( String staffId ) {
        this.staffId = staffId;
    }

    public String getStaffId() {
        return this.staffId;
    }

    public void setStaffFlag( String staffFlag ) {
        this.staffFlag = staffFlag;
    }

    public String getStaffFlag() {
        return this.staffFlag;
    }

    public void setDepartId( String departId ) {
        this.departId = departId;
    }

    public String getDepartId() {
        return this.departId;
    }

    public void setStaffName( String staffName ) {
        this.staffName = staffName;
    }

    public String getStaffName() {
        return this.staffName;
    }

    public void setStaffType( String staffType ) {
        this.staffType = staffType;
    }

    public String getStaffType() {
        return this.staffType;
    }

    public void setJobCode( String jobCode ) {
        this.jobCode = jobCode;
    }

    public String getJobCode() {
        return this.jobCode;
    }

    public void setSex( String sex ) {
        this.sex = sex;
    }

    public String getSex() {
        return this.sex;
    }

    public void setEmail( String email ) {
        this.email = email;
    }

    public String getEmail() {
        return this.email;
    }

    public void setUserPid( String userPid ) {
        this.userPid = userPid;
    }

    public String getUserPid() {
        return this.userPid;
    }

    public void setStaffPasswd( String staffPasswd ) {
        this.staffPasswd = staffPasswd;
    }

    public String getStaffPasswd() {
        return this.staffPasswd;
    }

    public void setSerialNumber( String serialNumber ) {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() {
        return this.serialNumber;
    }

    public void setDimissionTag( String dimissionTag ) {
        this.dimissionTag = dimissionTag;
    }

    public String getDimissionTag() {
        return this.dimissionTag;
    }

    public void setBirthday( Date birthday ) {
        this.birthday = birthday;
    }

    public Date getBirthday() {
        return this.birthday;
    }

    public void setLoginFlag( String loginFlag ) {
        this.loginFlag = loginFlag;
    }

    public String getLoginFlag() {
        return this.loginFlag;
    }

    public void setEparchyCode( String eparchyCode ) {
        this.eparchyCode = eparchyCode;
    }

    public String getEparchyCode() {
        return this.eparchyCode;
    }

    public void setRemark( String remark ) {
        this.remark = remark;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRsvalue1( String rsvalue1 ) {
        this.rsvalue1 = rsvalue1;
    }

    public String getRsvalue1() {
        return this.rsvalue1;
    }

    public void setRsvalue2( String rsvalue2 ) {
        this.rsvalue2 = rsvalue2;
    }

    public String getRsvalue2() {
        return this.rsvalue2;
    }

    public void setStartDate( Date startDate ) {
        this.startDate = startDate;
    }

    public Date getStartDate() {
        return this.startDate;
    }

    public void setEndDate( Date endDate ) {
        this.endDate = endDate;
    }

    public Date getEndDate() {
        return this.endDate;
    }

    public void setUpdateTime( Date updateTime ) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateStaffId( String updateStaffId ) {
        this.updateStaffId = updateStaffId;
    }

    public String getUpdateStaffId() {
        return this.updateStaffId;
    }

    public void setUpdateDepartId( String updateDepartId ) {
        this.updateDepartId = updateDepartId;
    }

    public String getUpdateDepartId() {
        return this.updateDepartId;
    }

    public void setMac( String mac ) {
        this.mac = mac;
    }

    public String getMac() {
        return this.mac;
    }

    public void setLoginCheckType( String loginCheckType ) {
        this.loginCheckType = loginCheckType;
    }

    public String getLoginCheckType() {
        return this.loginCheckType;
    }

    public void setStatus( String status ) {
        this.status = status;
    }

    public String getStatus() {
        return this.status;
    }


    private String rightCodes;

    private String departName;

    private String eparchyName;

    private String staffFlagName;

    public String getRightCodes() {
        return rightCodes;
    }

    public void setRightCodes(String rightCodes) {
        this.rightCodes = rightCodes;
    }

    public String getEparchyName() {
        return eparchyName;
    }

    public void setEparchyName(String eparchyName) {
        this.eparchyName = eparchyName;
    }

    public String getStaffFlagName() {
        return staffFlagName;
    }

    public void setStaffFlagName(String staffFlagName) {
        this.staffFlagName = staffFlagName;
    }

    public String getDepartName() {
        return departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }
}
